#include <QCoreApplication>
#include <iostream>
using namespace std;
int main()
{

    int a;
    cin>> a;
    int P=4*a;
    cout<<"P="<<P<<endl;
    return 0;
}
